﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Text
{
    class Work
    {
        //ref：有进有出
        public void AddRef(ref int a,int b,int c)
        {
            a = a + b + c;
        }
        //out：只出不进
        public void AddOut(out int a,int b,int c)
        {
            a = b + c;
        }
    }
}
